package com.tpp.threat_perception_platform.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 通用参数对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyParam {
    /**
     * 页码
     */
    private Integer page;
    /**
     * 限制
     */
    private Integer limit;
    /**
     * 开始时间
     */
    private String start;
    /**
     * 结束时间
     */
    private String end;
    /**
     * 搜索关键字
     */
    private String keywords;
    /**
     * 数据ID
     */
    private Integer id;
    /**
     * 搜索字段
     */
    private String searchField;

    private String macAddress;
    /**
     * 模糊搜索vul所需查询字段
     */
    private String hostName;
    private String vulName;
    private String vulLevel;
    /**
     * 模糊搜索weakPwd所需查询字段
     */
    private String accountName;
    private String weakPwd;
    // 添加getter和setter
    public String getAccountName() {
        return accountName;
    }
    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }
    public String getWeakPwd() {
        return weakPwd;
    }
    public void setWeakPwd(String weakPwd) {
        this.weakPwd = weakPwd;
    }
    /**
     * 模糊搜索appVul所需查询字段
     */
    // 添加应用漏洞相关字段
    private String appVulName;
    private String appVulId;

    // 添加getter和setter
    public String getAppVulName() {
        return appVulName;
    }
    public void setAppVulName(String appVulName) {
        this.appVulName = appVulName;
    }
    public String getAppVulId() {
        return appVulId;
    }
    public void setAppVulId(String appVulId) {
        this.appVulId = appVulId;
    }
    /**
     * 模糊搜索systemVul所需查询字段
     */
    // 添加系统漏洞相关字段
    private String systemVulName;
    private String status;

    // 添加getter和setter
    public String getSystemVulName() {
        return systemVulName;
    }
    public void setSystemVulName(String systemVulName) {
        this.systemVulName = systemVulName;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    /**
     * 模糊搜索hotfix所需查询字段
     */
    // 添加热补丁相关字段
    private String hotfixId;

    public String getHotfixId() {
        return hotfixId;
    }

    public void setHotfixId(String hotfixId) {
        this.hotfixId = hotfixId;
    }



    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }
}
